package com.salt.modules.sys.entity;

import com.salt.common.persistence.DataEntity;
import lombok.*;

/**
 * @Description 应用菜单
 * @Author salt
 * @Date 2022/1/2
 * @Version 1.0.1
 */
@Getter
@Setter
@NoArgsConstructor
public class AppMenu extends DataEntity<AppMenu> {

    private String userId;
    private String menuId;
    private String tenant;

    public AppMenu(String userId, String menuId, String tenant) {
        super();
        this.userId = userId;
        this.menuId = menuId;
        this.tenant = tenant;
    }

    public AppMenu(String userId, String menuId) {
        super();
        this.userId = userId;
        this.menuId = menuId;
    }

    public AppMenu(String userId) {
        super();
        this.userId = userId;
    }
}
